package com.wangjie.storage.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;

@TableName(value = "t_storage")
@Data
public class Storage implements Serializable {
    private static final long serialVersionUID = -6887560237381660165L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "commodity_code")
    private String commodityCode;

    @TableField(value = "count")
    private Integer count;
}